<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script src="jquery-1.10.1.min.js"></script>
	<script type="text/javascript">
	//链式操作
	$(function () {
		$('#div1').html('你好').css('background', 'red').click(function () {
			alert($(this).html())
		})
	})
	</script>
</head>
<body>
	<div id="div1">111</div>
</body>
</html>